package com.tengju.bff.interfaces.manage.crm.brand.vo;

import com.tengju.user.application.archives.dto.PageQueryDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel(value = "BrandSaleRankForm", description = "品牌销售排行榜入参")
public class BrandSaleRankForm extends PageQueryDTO {

    @NotNull(message = "日期类型不能为空")
    @ApiModelProperty("日期类型  1：当月  2：上月  3：本季度")
    private Integer dateType;

    @NotNull(message = "人群视角不能为空")
    @ApiModelProperty("人群视角  1：KA  2：EC  3：城市  4：社群")
    private Integer crowdPerspective;

    @ApiModelProperty("所属sec idCode")
    private Long belongSecIdCode;

    @ApiModelProperty("所属ec idCode")
    private Long belongEcIdCode;

    @NotNull(message = "品牌id不能为空")
    @ApiModelProperty("品牌id")
    private Long brandId;

    @ApiModelProperty("idCode")
    private Long idCode;

    @ApiModelProperty("俱乐部id")
    private Long clubId;

    @ApiModelProperty("销售额范围 >=")
    private BigDecimal saleMoneyFrom;

    @ApiModelProperty("销售额范围 <=")
    private BigDecimal saleMoneyTo;

    @ApiModelProperty("是否直属 0：非直属 1：直属")
    private boolean isDirect;

    @ApiModelProperty(value = "排序字段")
    private String orderColumn;

    @ApiModelProperty(value = "类型：asc，desc")
    private String orderType;

}
